@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
}
body{
    max-width: 3000px;
    width: 100%;
    margin: auto;
}
            /* Header */
            
.header-up{
    max-width: 1500px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 35px;
    margin: auto;
    margin-bottom: 28px;
    
}
.header-up-item{
    text-decoration: none;
    color: #333333;
    font-family: Roboto Condensed, sans-serif;
    font-size: 12px;
    border-right:  1px solid #000;
    padding-right: 5px;
    margin-right: 5px;
}
.search-icon{
    background-image: url(images/search-solid.svg);
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-position: center;
    padding-right: 15px;
    padding-left: 15px;
}
.user-icon{
    background-image: url(images/user.svg);
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
    padding-right: 15px;
    padding-left: 15px;
}

.header-menu{
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 40px;
    margin-bottom: 25px;
}
.logo{
    width: 230px;
    height: 40px;
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-position: center; 
    background-size: contain;
    margin-left: 20px;  
    margin-right: 20px; 
}
.header-menu-item{
    color: #333333;
    font-size: 16px;
    font-family: Oswald,sans-serif;
    padding: 0 28px 0 0;
    text-transform: capitalize;
}
.header-menu-item:hover{
    color: #e4002b;
}
.header-menu-item:focus{
    color: #e4002b;
}

        /* body */

.menu-panel{
    display: flex;
    width: 100%;
    height: 70px;
    background: #343434;
}  
.nav{
    display: flex;
    width: 1200px;
    margin: auto;
    align-items: center;
}
.nav-item{
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    color: #fff;
    font-family: Oswald,sans-serif;
    text-transform: uppercase;
    margin-left: 50px;
    text-decoration: none;
}
.nav li{
    display: flex;
    height: 70px;
    align-items: center;
}
.nav-item:hover{
    border-bottom: 4px solid #e4002b;
    color: #e4002b;
}
.nav li:hover .ul{
     opacity: 1;
     top: 198px;
}
.nav ul{
    opacity: 0;
}
.ul{
    position: absolute;
    top: -9999em;
    display: flex;
    flex-direction: column;
    width: 200px;
    margin-left: 40px;
    transition: 0.5s opacity;
    z-index: 1;
}
.ul li{
    display: block;
    border-bottom: 1px solid white;
    background: #343434;
    height: 60px;
}
.item{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    font-family: Oswald,sans-serif;
    text-transform: uppercase;
}
.one{
    border-top: 1px solid white;
}
.item:hover{
    color: #e4002b;
}
.ul li{
    position: relative;
}
.one:hover .Mp-ul{
    position: absolute;
    display: block;
    top: 0px;
    left: 100%;
    width: 200px;
    height: 200px;
    background: #000;
    opacity: 1;
}

li{
    list-style-type: none;
}


            /* slider */

.slider{
    width: 100%;
    height: 450px;
    background-color: #e8e7e3;
    margin-bottom: 62px;
    
}       

            /* container */

.container{
    display: flex;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
}
.blog, .d{
    display: flex;
    flex-direction: column;
    width: 25%;
}
.new{
    display: flex;
    flex-direction: column;
    width: 50%;
}
.heading{
    font-family: Oswald,sans-serif;
    font-size: 20px;
    padding-right: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 50px;
}
.arrows{
    width: 25px;
    height: 25px;
    background-image: url(images/arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
}
#left{
    transform: rotate(180deg);
}
.up{
    display: flex;
    margin-bottom: 20px;
}
.text-heading{
    display: flex;
    color: #6c6e71;
    font-family: Oswald,sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.text-heading::before{
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    background-image: url(images/calendar.svg);
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}
.text{
    color: #e4002b;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px dotted #e4002b;
    line-height: 20px;
    font-family: Roboto Condensed,sans-serif;
}
.text-block{
    margin-bottom: 18px;
    padding-right: 60px;
    padding-left: 10px;
}
.event-heading{
    font-size: 15px;
    color: #6c6e71;
    line-height: 20px;
    font-family: Roboto Condensed,sans-serif;
    margin-left: 10px;
}
.event-link{
    font-size: 15px;
    line-height: 20px;
    font-family: Roboto Condensed,sans-serif;
    text-decoration: none;
    margin-left: 10px;
    color: #e4002b;
}

.product-content{
    display: grid;
    grid-template-columns: repeat(2, [col] 1fr);
    grid-template-rows: repeat(2 , [row] 1fr);
    justify-items: stretch;
    width: 100%;
    height: 500px;
}
.new-product{
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.product-name{
    color: #333333;
    display: block;
    font-family: Oswald,sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding-top: 10px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
}
.product-image{
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url(images/new4.jpg);
    background-repeat: no-repeat;
    background-position: center;
}
.new-icon{
    position: absolute;
    display: flex;
    justify-content: right;
    align-items: center;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    border: 25px solid transparent; 
    border-top: 25px solid #e4002b; 
    border-right: 25px solid #e4002b;
    border-radius: 3px;
}
.new-span{
    display: block;
    margin-bottom: 15px;
    color: #fff;
    font-family: Roboto Condensed,sans-serif;
    font-size: 11px;
    text-transform: uppercase;
}
.product-span{
    line-height: 20px;
    font-family: Roboto Condensed,sans-serif;
    color: #6c6e71;
    display: block;
    font-size: 13px;
}

.d-image{
    width: 100%;
    height: 300px;
    background-image: url(images/hikvision_fall_2020-thumbnail.jpg);
    background-repeat: no-repeat;
    background-position: center;
}
.d-button{
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background-color: #333;
    align-items: center;
    padding-bottom: 15px;
    padding-left: 16px;
    padding-right: 12px;
    padding-top: 15px;
    margin-bottom: 40px;
}
.button-text{
    color: #ffffff;
    font-family: Oswald,sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
}
.miban{
    display: flex;
    width: 100%;
    height: 350px;
    background-color: #444;
    color: #fff;
    justify-content: center;
    font-size: 3em;
    align-items: center;
}
.container-bottom{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    align-items: center;
    width: 100%;
    height: 154px;
    margin: auto;
}
.cont-bottom-a{
    display: flex;
    width: 250px;
}

.cont-bottom-icon{
    margin-top: 10px;
    width: 30px;
    height: 40px;
}
.span-up{
    font-family: Oswald,sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding-left: 34px;
    text-transform: uppercase;
    color: #e4002b;
    text-decoration: none;
}
.span-down{
    font-family: Oswald,sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding-left: 34px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
}
.cont-bottom-span{
    display: flex;
    flex-direction: column;
}


                /* footer */

.footer{
    width: 100%;
    height: 380px;
    background: #333;
    background-image: url(images/eart-map.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
}     
.footer-layer{
    width: 100%;
    height: 100%;
    background: #333;
    opacity: 90%;
}      
.footer-layer2{
    display: flex;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    margin: auto;
    justify-content: space-between;
    align-items: center;
}     
.footer-heading{
    display: block;
    margin-bottom: 13px;
    font-size: 14px;;
    color: #ffffff;
    font-weight: 600;
    font-family: Oswald,sans-serif;
    text-transform: uppercase;
}
.footer-text{
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #ffffff;
    line-height: 20px;
    font-family: Roboto Condensed,sans-serif;
}

.footer-bottom{
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background: #222;
}
.f-b-container{
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}
.f-b-text{
    display: block;
    color: #4e4e4e;
    font-size: 12px;
    font-family: Roboto Condensed,sans-serif;
    margin-right: 20px;
}
.f-b-link{
    color: #666;
    font-size: 12px;
    font-family: Roboto Condensed,sans-serif;
    text-decoration: none;
}
